Mollie\WooCommerce\Shared\Data B

Total Complexity 97
Dependencies 13
Dependents 13
Total lines 675
Lines of code 357
Logical lines of code 192
Comment lines 168
Methods 31
Properties 8

Methods 31

Method Rating Maintainability Complexity Lines of code
getUserMollieCustomerId()
A
41 13 51
getApiPaymentMethods()
A
47 9 35
isWcSubscription()
A
58 9 16
getAllPaymentMethods()
S
53 7 23
getMethodIssuers()
S
54 7 18
restoreOrderStock()
S
54 6 21
getFilters()
S
51 4 28
wooCommerceFiltersForCheckout()
S
56 4 18
deleteTransients()
S
54 3 22
setUserMollieCustomerId()
S
60 3 13
getPaymentMethod()
S
62 3 11
getRecurringPaymentMethods()
S
67 3 7
getRegularPaymentMethods()
S
69 3 7
getTransientId()
S
63 2 10
getPayment()
S
65 2 8
setUserMollieCustomerIdAtSubscription()
S
67 2 8
formatCurrencyValue()
S
73 2 4
isValidApiKeyProvided()
S
66 2 9
getActiveMolliePaymentMode()
S
75 1 4
getOrderCurrency()
S
81 1 3
__construct()
S
69 1 7
getAmountValue()
S
73 1 6
isBlockPluginActive()
S
80 1 3
getCurrentLocale()
S
79 1 3
getPaymentLocale()
S
81 1 3
processAdminOptions()
S
81 1 3
processSettings()
S
81 1 3
getApiKey()
S
80 1 3
isTestModeEnabled()
S
81 1 3
getGlobalSettingsUrl()
S
81 1 3
isSubscription()
S
74 1 4